'''
Created on 2012-4-12

@author: Administrator
'''

class DBAccessError(Exception):
    
    def __init__(self,method,message):
        self.method = method
        self.message = message

class MemAccessError(Exception):
    
    def __init__(self,method,message):
        self.method = method
        self.message = message

class RedisAccessError(Exception):
    
    def __init__(self,method,message):
        self.method = method
        self.message = message